home *** CD-ROM | disk | FTP | other *** search
- Path: walrus.megabaud.fi!not-for-mail
- From: petrin@walrus.megabaud.fi (Petri Nordlund)
- Newsgroups: comp.sys.amiga.applications
- Subject: Executive and screen blankers (was Re: Executive and AmiTCP..)
- Date: 2 Mar 1996 13:25:57 +0200
- Organization: Megabaud Oy,Helsinki,Finland
- Message-ID: <4h9b85$8f0@walrus.megabaud.fi>
- NNTP-Posting-Host: walrus.megabaud.fi
-
- Mathew Hendry (m.hendry@dial.pipex.com) writes:
- >: The best solution would be to run the blanker in a totally separate
- >: task at low priority (below Executive's catch range) and have another
- >: task watching for mouse movement and keyboard, so the screen could
- >: be easily unblanked (the blanker task's priority has to be first
- >: raised so it will get CPU time to close it's screen).
- >
- >That's basically what BlitzBlank does. The main BlitzBlank task, which detects
- >mouse and keyboard activity, runs at priority 10, well above the catch range.
- >When the screen is blanked, two new tasks appear - BB.Module and BB.WatchTask,
- >at the same priority as each other (-5 is the recommended value). If
- >BB.WatchTask is getting no CPU time (I'm not sure how the BlitzBlank task
- >recognises this - I am guessing that it is some sort of message-based system,
- >i.e. if BB.WatchTask does not repond to a message quickly enough, it is
- >assumed to be getting no CPU), BB.Module is stopped and replaced with a blank
- >screen.
-
- I tested BlitzBlanker, and I don't know what the BB.Watchtask does,
- but it is not executed after it is started, the idle-field in Ps-
- client's output shows this. Anyway, to get BlitzBlank to work
- properly with Executive, I would suggest these settings:
-
- TASK BB.Module SCHEDULE 20
- TASK BB.Watchtask NOSCHEDULE -128
-
- This seems to work, although, as you said, the BB.Watchtask will
- remain in the system if there's some task taking all the available
- CPU time.
- --
- __
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~///~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Petri Nordlund __/// petrin@megabaud.fi
- ---------------------------------\XX/----------------------------------
-